package xyz.robinbingo.rbtask.web.controller;

import cn.hutool.core.date.DateUtil;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import xyz.robinbingo.rbtask.common.bean.ResResult;

/**
 * TestController
 *
 * @author Robin
 * @date 2021/6/23 12:24
 **/
@RestController
public class PingController {

    @GetMapping("ping")
    public ResResult<String> ping() {
        return ResResult.success("pong-" + DateUtil.now());
    }
}
